package com.candy.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.candy.sys.entity.Role;
import com.candy.sys.entity.UserRole;

import java.util.List;

/**
 * <p>
 * 用户角色关联 Mapper 接口
 * </p>
 *
 * @author pxs
 * @since 2021-06-26
 */
public interface UserRoleMapper extends BaseMapper<UserRole> {

	List<Role> selectRolesByUserId(Long userId);
}
